home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 5
/
Gold Medal Software - Volume 5 (Gold Medal) (1995).iso
/
music
/
pbcdk10.arj
/
ACDKIT.ZIP
/
ACDKIT.BI
< prev
next >
Wrap
Text File
|
1994-10-15
|
3KB
|
66 lines
DEFINT A-Z
$DYNAMIC
%CDINSTALLED = &H1
%CDPLAYING = &H2
%CDPAUSED = &H4
%CDOPEN = &H8
%CDLOCKED = &H10
TYPE trackinfo
cmd AS BYTE
track AS BYTE
tframe AS BYTE
tsec AS BYTE
tmin AS BYTE
dummy AS BYTE
control AS BYTE
absframe AS LONG
END TYPE
TYPE cdInfoTYPE
status AS BYTE ' status of the driver
track AS BYTE ' current track number
frame AS LONG ' current absolute frame number
cdMin AS BYTE ' cd position (minutes)
cdSec AS BYTE ' cd position (seconds)
cdFrame AS BYTE ' cd position (frames)
TrackMin AS BYTE ' track position (mins)
TrackSec AS BYTE ' track position (seconds)
TrackFrame AS BYTE ' track position (frames)
cdMins AS BYTE ' cd length (mins)
cdSecs AS BYTE ' cd length (seconds)
cdFrames AS BYTE ' cd length (frames)
TrackMins AS BYTE ' track length (mins)
TrackSecs AS BYTE ' track length (seconds)
TrackFrames AS BYTE ' track length (frames)
END TYPE
DECLARE SUB cdGetInfo (BYVAL drive%, BYVAL track%, cd AS cdInfoTYPE, tracklist() AS trackinfo)
DECLARE SUB cdDoor (BYVAL drive%, BYVAL cmd%)
DECLARE SUB cdPause (BYVAL drive%)
DECLARE SUB cdPlayFrames (BYVAL drive%, BYVAL frame&, BYVAL lframe&)
DECLARE SUB cdPlayMSF (BYVAL drive%, BYVAL mins%, BYVAL secs%, BYVAL frame%, BYVAL lmin%, BYVAL lsec%, BYVAL lframe%)
DECLARE SUB cdPlay (BYVAL drive%, BYVAL track%, BYVAL tracks%, tracklist() AS trackinfo)
DECLARE SUB cdInit (BYVAL drive%, tracklist() AS trackinfo)
DECLARE SUB cdReset (BYVAL drive%)
DECLARE SUB cdResume (BYVAL drive%)
DECLARE SUB cdSeek (BYVAL drive%, BYVAL track%, tracklist() AS trackinfo)
DECLARE SUB cdSeekFrame (BYVAL drive%, BYVAL frame&)
DECLARE SUB cdSeekMSF (BYVAL drive%, BYVAL mins%, BYVAL secs%, BYVAL frame%)
DECLARE SUB cdStop (BYVAL drive%)
DECLARE SUB cdGetVolume (BYVAL source%, left1%, right1%, left2%, right2%)
DECLARE SUB cdSetVolume (BYVAL source%, BYVAL left1%, BYVAL right1%, BYVAL left1%, BYVAL right1%)
DECLARE SUB sbGetVolume (BYVAL source%, leftV%, rightV%)
DECLARE SUB sbSetVolume (BYVAL source%, BYVAL leftV%, BYVAL rightV%)
DECLARE FUNCTION cdMediaChanged% (BYVAL drive%)
DECLARE FUNCTION cdStatus% (BYVAL drive%)
DECLARE FUNCTION GetFirstCdrom% ()
DECLARE FUNCTION GetMscdexVersion% ()
DECLARE FUNCTION GetNumCdroms% ()
DECLARE FUNCTION IsAudio% (BYVAL drive%)
DECLARE FUNCTION IsMscdex% ()
DECLARE FUNCTION IsSB% ()
DECLARE FUNCTION MSFtoFrame& (BYVAL mins%, BYVAL secs%, BYVAL frame%)
DECLARE SUB FrameToMSF (BYVAL frame&, mins?, secs?, frames?)